import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { AuditCenterComponent } from './router/audit-center/audit-center.component';
import { TableConstructorComponent } from './router/table-constructor/table-constructor.component';
import { ScriptInitComponent } from './router/script-init/script-init.component';

const routes: Routes = [
  { path: 'audit-center', component: AuditCenterComponent },
  { path: 'table-constructor', component: TableConstructorComponent },
  { path: 'script-init', component: ScriptInitComponent },
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }
